<?php
/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace TencentCloud\Emr\V20190103\Models;
use TencentCloud\Common\AbstractModel;

/**
 * DescribeNodeDataDisks request structure.
 *
 * @method string getInstanceId() Obtain ID of the EMR cluster instance.
 * @method void setInstanceId(string $InstanceId) Set ID of the EMR cluster instance.
 * @method array getCvmInstanceIds() Obtain ID list of node CVM instances.
 * @method void setCvmInstanceIds(array $CvmInstanceIds) Set ID list of node CVM instances.
 * @method array getFilters() Obtain Filter criteria for querying cloud disks.
 * @method void setFilters(array $Filters) Set Filter criteria for querying cloud disks.
 * @method string getInnerSearch() Obtain Fuzzy search.
 * @method void setInnerSearch(string $InnerSearch) Set Fuzzy search.
 * @method integer getLimit() Obtain Number of items returned per page. The default value is 100, and the maximum value is 100.
 * @method void setLimit(integer $Limit) Set Number of items returned per page. The default value is 100, and the maximum value is 100.
 * @method integer getOffset() Obtain Data offset.
 * @method void setOffset(integer $Offset) Set Data offset.
 */
class DescribeNodeDataDisksRequest extends AbstractModel
{
    /**
     * @var string ID of the EMR cluster instance.
     */
    public $InstanceId;

    /**
     * @var array ID list of node CVM instances.
     */
    public $CvmInstanceIds;

    /**
     * @var array Filter criteria for querying cloud disks.
     */
    public $Filters;

    /**
     * @var string Fuzzy search.
     */
    public $InnerSearch;

    /**
     * @var integer Number of items returned per page. The default value is 100, and the maximum value is 100.
     */
    public $Limit;

    /**
     * @var integer Data offset.
     */
    public $Offset;

    /**
     * @param string $InstanceId ID of the EMR cluster instance.
     * @param array $CvmInstanceIds ID list of node CVM instances.
     * @param array $Filters Filter criteria for querying cloud disks.
     * @param string $InnerSearch Fuzzy search.
     * @param integer $Limit Number of items returned per page. The default value is 100, and the maximum value is 100.
     * @param integer $Offset Data offset.
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("InstanceId",$param) and $param["InstanceId"] !== null) {
            $this->InstanceId = $param["InstanceId"];
        }

        if (array_key_exists("CvmInstanceIds",$param) and $param["CvmInstanceIds"] !== null) {
            $this->CvmInstanceIds = $param["CvmInstanceIds"];
        }

        if (array_key_exists("Filters",$param) and $param["Filters"] !== null) {
            $this->Filters = [];
            foreach ($param["Filters"] as $key => $value){
                $obj = new Filters();
                $obj->deserialize($value);
                array_push($this->Filters, $obj);
            }
        }

        if (array_key_exists("InnerSearch",$param) and $param["InnerSearch"] !== null) {
            $this->InnerSearch = $param["InnerSearch"];
        }

        if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
            $this->Limit = $param["Limit"];
        }

        if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
            $this->Offset = $param["Offset"];
        }
    }
}
